<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="FLVPlayer,jp.raohmaru.controls.FLVPlayer,autoPlay,autoRewind,buffer,bufferTime,skin,skinAutoHide,skinFixedPosition,skinHideTime,skinScaleMaximum,skinWidth,skinX,skinY,smoothing,source,video,close,getVideoPlayer,pause,play,rewind,stop" name="keywords">
<title>jp.raohmaru.controls.FLVPlayer</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'FLVPlayer - Raohmaru AS3 Framework';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Raohmaru AS3 

Framework</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?jp/raohmaru/controls/FLVPlayer.html&amp;jp/raohmaru/controls/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;FLVPlayer</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class FLVPlayer"); titleBar_setSubNav(false,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">jp.raohmaru.controls</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class FLVPlayer</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">FLVPlayer <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> <a href="Control.html">Control</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
 La clase FLVPlayer amplía la clase Control ajustando un objeto FLVPlayback y botones de navegación.
 Los eventos generados por el objeto FLVPlayback interno son despachados a través de FLVPlayer, por lo que se pueden registar directamente desde 
 una instancia de FLVPlayer.
 Nota: A veces un FLV corrupto o mal creado puede provocar un mal funcionamiento en la barra de progreso. Se aconseja también no establecer un valor superior a <code>0.7</code>
 a la propiedad <code>FLVPlayer.bufferTime</code> del reproductor interno si se produce este error al cargar por primera vez un archivo .flv.
 <p></p>
<br>
<span class="label">Example</span>
<br><div class='listing'><pre>
import jp.raohmaru.controls.FLVPlayer;
import fl.video.VideoEvent;

var player :FLVPlayer = new FLVPlayer(flvplayer);
 player.autoPlay = false;
 player.width = 400;
 player.height = 250;
 player.addEventListener(VideoEvent.READY, playerEventHandler);
 player.addEventListener(VideoEvent.COMPLETE, playerEventHandler);
 player.play("http://www.helpexamples.com/flash/video/caption_video.flv");
 
function playerEventHandler(e :VideoEvent)
{
 trace(e);
}
</pre></div>
 <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">fl.video.VideoEvent</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#alpha">alpha</a> : Number<div class="summaryTableDescription">
  Indica el valor de transparencia alfa del control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoPlay">autoPlay</a> : Boolean<div class="summaryTableDescription">
  Define si debe reproducirse automáticamente tras definir la propiedad <code>source</code>.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoRewind">autoRewind</a> : Boolean<div class="summaryTableDescription">
  Valor booleano que, si es <code>true</code>, hace que el archivo FLV se rebobine hasta el fotograma 1 cuando se detenga la reproducción,
  ya sea porque el reproductor llegó al final del flujo o porque se llamó al método <code>stop()</code>.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#buffer">buffer</a> : MovieClip<div class="summaryTableDescription">[read-only]
  Devuelve una referencia al clip de película que actua como buffer de vídeo.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#bufferTime">bufferTime</a> : Number<div class="summaryTableDescription">
  Valor que especifica el número de segundos que se almacenarán en la memoria antes de que se inicie la reproducción de un flujo de vídeo.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#enabled">enabled</a> : Boolean<div class="summaryTableDescription">
 Un valor booleano que especifica si está activado un control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#height">height</a> : Number<div class="summaryTableDescription">
  Define o obtiene la altura del control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#movie">movie</a> : MovieClip<div class="summaryTableDescription">
  Obtiene el clip de película asociado al control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#name">name</a> : String<div class="summaryTableDescription">
  Define el nombre del control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skin">skin</a> : MovieClip<div class="summaryTableDescription">
  Especifica un MovieClip que será el aspecto del objeto FLVPlayer (que contiene los botones de control).</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skinAutoHide">skinAutoHide</a> : Boolean<div class="summaryTableDescription">
  Valor booleano que si es <code>true</code> oculta el aspecto del control cuando el ratón no está sobre el vídeo.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skinFixedPosition">skinFixedPosition</a> : Boolean<div class="summaryTableDescription">
  Define si el MovieClip del aspecto debe moverse cuando se redimensiona la instancia de FVLPlayer a través de las propiedades <code>width</code> o <code>height</code>.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skinHideTime">skinHideTime</a> : Number<div class="summaryTableDescription">
  Tiempo de espera en milisegundos para que el aspecto se oculte automáticamente.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skinScaleMaximum">skinScaleMaximum</a> : Number<div class="summaryTableDescription">
  Esta propiedad especifica el valor múltiple máximo que se utilizará para ajustar el aspecto cuando entre en el modo de pantalla
  completa con un Flash Player que admita la aceleración de hardware.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skinWidth">skinWidth</a> : Number<div class="summaryTableDescription">
  Define el ancho del MovieClip que hace de aspecto del FLVPlayer.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skinX">skinX</a> : Number<div class="summaryTableDescription">
  Indica la coordenada <i>x</i> del objeto MovieClip que contiene el aspecto, en relación a las coordenadas locales de su contenedor.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#skinY">skinY</a> : Number<div class="summaryTableDescription">
  Indica la coordenada <i>y</i> del objeto MovieClip que contiene el aspecto, en relación a las coordenadas locales de su contenedor.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#smoothing">smoothing</a> : Boolean<div class="summaryTableDescription">
  Especifica si el vídeo debe suavizarse (interpolarse) al ajustarlo a escala.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#source">source</a> : String<div class="summaryTableDescription">
  Cadena que especifica la URL del archivo FLV que se va a transmitir y cómo se debe transmitir.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#video">video</a> : FLVPlayback<div class="summaryTableDescription">[read-only]
  Devuelve una referencia al objeto FLVPlayback interno.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#visible">visible</a> : Boolean<div class="summaryTableDescription">
 Indica si el control es visible.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#width">width</a> : Number<div class="summaryTableDescription">
  Define o obtiene la anchura de la barra del control.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#x">x</a> : Number<div class="summaryTableDescription">
  Indica la coordenada <i>x</i> de la instancia de Control en relación a las coordenadas locales del DisplayObjectContainer principal.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="Control.html#y">y</a> : Number<div class="summaryTableDescription">
  Indica la coordenada <i>y</i> de la instancia de Control en relación a las coordenadas locales del DisplayObjectContainer principal.</div>
</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#FLVPlayer()">FLVPlayer</a>(movie:MovieClip)</div>
<div class="summaryTableDescription">
  Crea un nuevo objeto FLVPlayer y establece las propiedades del objeto FLVPlayback interno <code>bufferTime</code> a <code>.5</code>
  y <code>autoRewind</code> a <code>true</code>.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#close()">close</a>():void</div>
<div class="summaryTableDescription">
  Fuerza el cierre del flujo de vídeo y desactiva el control.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getVideoPlayer()">getVideoPlayer</a>():VideoPlayer</div>
<div class="summaryTableDescription">
  Obtiene el reproductor de vídeo interno especificado por el valor de <code>FLVPlayback.activeVideoPlayerIndex</code>.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#pause()">pause</a>():void</div>
<div class="summaryTableDescription">
  Pausa la reproducción del flujo de vídeo.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#play()">play</a>(source:String = null, totalTime:Number, isLive:Boolean = false):void</div>
<div class="summaryTableDescription">
  Reproduce el flujo de vídeo.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#rewind()">rewind</a>():void</div>
<div class="summaryTableDescription">
  Rebobina la reproducción hasta el segundo 0.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#stop()">stop</a>():void</div>
<div class="summaryTableDescription">
  Detiene la reproducción del vídeo.</div>
</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<div class="showHideLinks">
<div class="hideInheritedEvent" id="hideInheritedEvent">
<a onclick="javascript:setInheritedVisible(false,'Event');" href="#eventSummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Events</a>
</div>
<div class="showInheritedEvent" id="showInheritedEvent">
<a onclick="javascript:setInheritedVisible(true,'Event');" href="#eventSummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Events</a>
</div>
</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:layout">layout</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando la película entra o sale en modo de pantalla completa, redimensionando la instancia de Video y el aspecto.</td><td class="summaryTableOwnerCol">FLVPlayer</td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseDown">mouseDown</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario pulsa sobre una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseOut">mouseOut</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario mueve el cursor hacia el exterior de una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseOver">mouseOver</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario pasa el cursor por encima de una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
<tr class="hideInheritedEvent">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="Control.html#event:mouseUp">mouseUp</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando el usuario suelta el botón sobre una instancia de Control.</td><td class="summaryTableOwnerCol"><a href="Control.html">Control</a></td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="autoPlay"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoPlay</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>autoPlay:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Define si debe reproducirse automáticamente tras definir la propiedad <code>source</code>.
  </p><p>The default value is <code>true</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get autoPlay():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set autoPlay(value:Boolean):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.FLVPlayback.autoPlay</div>
</div>
<a name="autoRewind"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoRewind</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>autoRewind:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Valor booleano que, si es <code>true</code>, hace que el archivo FLV se rebobine hasta el fotograma 1 cuando se detenga la reproducción,
  ya sea porque el reproductor llegó al final del flujo o porque se llamó al método <code>stop()</code>. Esta propiedad no se utiliza para flujos dinámicos.
  </p><p>The default value is <code>true</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get autoRewind():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set autoRewind(value:Boolean):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.FLVPlayback.autoRewind</div>
</div>
<a name="buffer"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">buffer</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>buffer:MovieClip</code>&nbsp;&nbsp;[read-only]<p>
  Devuelve una referencia al clip de película que actua como buffer de vídeo.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get buffer():MovieClip</code>
<br>
</div>
<a name="bufferTime"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">bufferTime</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>bufferTime:Number</code>&nbsp;&nbsp;[read-write]<p>
  Valor que especifica el número de segundos que se almacenarán en la memoria antes de que se inicie la reproducción de un flujo de vídeo.
  </p><p>The default value is <code>0.1 segundos.</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bufferTime():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set bufferTime(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.FLVPlayback.bufferTime</div>
</div>
<a name="skin"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skin</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skin:MovieClip</code>&nbsp;&nbsp;[read-write]<p>
  Especifica un MovieClip que será el aspecto del objeto FLVPlayer (que contiene los botones de control).
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skin():MovieClip</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skin(value:MovieClip):void</code>
<br>
</div>
<a name="skinAutoHide"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skinAutoHide</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skinAutoHide:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Valor booleano que si es <code>true</code> oculta el aspecto del control cuando el ratón no está sobre el vídeo.
  </p><p>The default value is <code>false</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skinAutoHide():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skinAutoHide(value:Boolean):void</code>
<br>
</div>
<a name="skinFixedPosition"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skinFixedPosition</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skinFixedPosition:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Define si el MovieClip del aspecto debe moverse cuando se redimensiona la instancia de FVLPlayer a través de las propiedades <code>width</code> o <code>height</code>.
  </p><p>The default value is <code>false</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skinFixedPosition():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skinFixedPosition(value:Boolean):void</code>
<br>
</div>
<a name="skinHideTime"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skinHideTime</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skinHideTime:Number</code>&nbsp;&nbsp;[read-write]<p>
  Tiempo de espera en milisegundos para que el aspecto se oculte automáticamente.
  Debe especificarse después de establecer a <code>skinAutoHide = true</code>.
  </p><p>The default value is <code>5000 milisegundos (5 segundos).</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skinHideTime():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skinHideTime(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../controls/FLVPlayer.html#skinAutoHide()" target="">skinAutoHide()</a>
</div>
</div>
<a name="skinScaleMaximum"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skinScaleMaximum</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skinScaleMaximum:Number</code>&nbsp;&nbsp;[read-write]<p>
  Esta propiedad especifica el valor múltiple máximo que se utilizará para ajustar el aspecto cuando entre en el modo de pantalla
  completa con un Flash Player que admita la aceleración de hardware. 
  </p><p>The default value is <code>4</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skinScaleMaximum():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skinScaleMaximum(value:Number):void</code>
<br>
</div>
<a name="skinWidth"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skinWidth</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skinWidth:Number</code>&nbsp;&nbsp;[read-write]<p>
  Define el ancho del MovieClip que hace de aspecto del FLVPlayer.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skinWidth():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skinWidth(value:Number):void</code>
<br>
</div>
<a name="skinX"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skinX</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skinX:Number</code>&nbsp;&nbsp;[read-write]<p>
  Indica la coordenada <i>x</i> del objeto MovieClip que contiene el aspecto, en relación a las coordenadas locales de su contenedor.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skinX():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skinX(value:Number):void</code>
<br>
</div>
<a name="skinY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">skinY</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>skinY:Number</code>&nbsp;&nbsp;[read-write]<p>
  Indica la coordenada <i>y</i> del objeto MovieClip que contiene el aspecto, en relación a las coordenadas locales de su contenedor.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get skinY():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set skinY(value:Number):void</code>
<br>
</div>
<a name="smoothing"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">smoothing</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>smoothing:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Especifica si el vídeo debe suavizarse (interpolarse) al ajustarlo a escala.
  </p><p>The default value is <code>false</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get smoothing():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set smoothing(value:Boolean):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.media.Video.smoothing</div>
</div>
<a name="source"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">source</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>source:String</code>&nbsp;&nbsp;[read-write]<p>
  Cadena que especifica la URL del archivo FLV que se va a transmitir y cómo se debe transmitir.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get source():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set source(value:String):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.FLVPlayback.source</div>
</div>
<a name="video"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">video</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>video:FLVPlayback</code>&nbsp;&nbsp;[read-only]<p>
  Devuelve una referencia al objeto FLVPlayback interno.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get video():FLVPlayback</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="FLVPlayer()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">FLVPlayer</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function FLVPlayer(movie:MovieClip)</code><p>
  Crea un nuevo objeto FLVPlayer y establece las propiedades del objeto FLVPlayback interno <code>bufferTime</code> a <code>.5</code>
  y <code>autoRewind</code> a <code>true</code>.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">movie</span>:MovieClip</code> &mdash; Objeto MovieClip que es la representación gráfica del control
  </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="close()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">close</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function close():void</code><p>
  Fuerza el cierre del flujo de vídeo y desactiva el control. Para volver a utilizar el FLVPlayer, se ha de llamar al método <code>play()</code>
  indicando un archivo FLV.
  También establece la propiedad <code>FLVPlayback.fullScreenTakeOver</code> a <code>false</code>, para que en el caso de haber más instancias de
  FLVPlayer en el escenario éste no tome el control al cambiar a pantalla completa.
  <br><strike><b>Nota:</b> Debido a que se utiliza un truco para cerrar el flujo (ver código), en la consola de salida aparecerá un error
  ("Error al abrir la URL").</strike>
  </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.VideoPlayer.close()<br>
<a href="Control.html#enabled" target="">Control.enabled</a>
</div>
</div>
<a name="getVideoPlayer()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getVideoPlayer</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getVideoPlayer():VideoPlayer</code><p>
  Obtiene el reproductor de vídeo interno especificado por el valor de <code>FLVPlayback.activeVideoPlayerIndex</code>. 
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>VideoPlayer</code></td>
</tr>
</table>
</div>
<a name="pause()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pause</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function pause():void</code><p>
  Pausa la reproducción del flujo de vídeo.
  </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.FLVPlayback.close()</div>
</div>
<a name="play()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">play</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function play(source:String = null, totalTime:Number, isLive:Boolean = false):void</code><p>
  Reproduce el flujo de vídeo. Sin parámetros, el método sólo pasa el FLV del estado de pausa (PAUSED) o el estado detenido (STOPPED)
  al estado de reproducción (PLAYING).<br>
  Si hay multiples instancias de FLVPlayer en la película, la propiedad <code>FLVPlayback.fullScreenTakeOver</code> de la instancia de FLVPlayer que se está
  reproduciendo se establece a <code>true</code> para que tome el control a pantalla completa. Cuando quiera cambiar de instancia de FLVPlayback,
  cierre el flujo de vídeo actual con <code>FLVPlayer.close()</code> para que deje de ser el objeto activo.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">source</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Cadena que especifica la URL del archivo FLV
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">totalTime</span>:Number</code> &mdash; Número que representa el tiempo total de reproducción del vídeo
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">isLive</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Indica si el flujo de vídeo es dinámico
  </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.FLVPlayback.play()</div>
</div>
<a name="rewind()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">rewind</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function rewind():void</code><p>
  Rebobina la reproducción hasta el segundo 0.
  </p></div>
<a name="stop()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">stop</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function stop():void</code><p>
  Detiene la reproducción del vídeo. Si el valor de la propiedad <code>autoRewind</code> es <code>true</code>, el archivo FLV se rebobina hasta el principio.
  </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">fl.video.FLVPlayback.stop()</div>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:layout"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">layout</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>fl.video.LayoutEvent</code></a>
<br>
<p></p><p>
 Se distribuye cuando la película entra o sale en modo de pantalla completa, redimensionando la instancia de Video y el aspecto.
 </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://www.raohmaru.com</center>
</div>
</body>
</html>
<!--http://www.raohmaru.com-->
